import Taro from "@tarojs/taro";

export function logInfo(message, extra?: any) {
  if (process.env.NODE_ENV === "development") {
    console.log(message, extra);
  }
}

export function toast(message) {
  Taro.showToast({
    title: message,
    icon: "none",
  });
}
